package top.ywlog.permission.filter;

import com.alibaba.druid.support.http.WebStatFilter;
import org.springframework.core.annotation.Order;

import javax.servlet.annotation.WebFilter;
import javax.servlet.annotation.WebInitParam;

/**
 * @author: Durian
 * @date: 2020/10/17 19:59
 * @description: Druid监控页面过滤器
 */
@Order(6)
@WebFilter(filterName = "druidWebStatFilter",
        urlPatterns = "/*",
        initParams = {
                @WebInitParam(name = "exclusions", value = "*.js,*.gif,*.jpg,*.bmp,*.png,*.css,*.ico,/druid/*")//忽略资源
        }
)
public class DruidFilter extends WebStatFilter
{
}
